/*
 * Copyright (c) 2023-2299 深圳市阿毛科技有限公司 All rights reserved.
 *
 * https://www.lamyz.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.lam.mall.app.vo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.lam.common.serializer.json.ImgJsonSerializer;

/**
 */
public class ProductItemVo {

	// "产品名称" ,required=true)
	private String prodName;

	// "产品个数" ,required=true)
	private Integer prodCount;

	// "产品图片路径" ,required=true)
	@JsonSerialize(using = ImgJsonSerializer.class)
	private String pic;

	// "产品价格" ,required=true)
	private BigDecimal price;

	// "商品总金额" ,required=true)
	private BigDecimal productTotalAmount;

	// "产品ID" ,required=true)
	private String prodId;

    // "skuId" ,required=true)
    private String skuId;

	// "规格名称" , required = true)
	private String skuName;

	// "basketId" ,required=true)
	private String basketId;

	// "商品实际金额 = 商品总金额 - 分摊的优惠金额" )
	private BigDecimal actualTotal;

	// "满减满折优惠id，0不主动参与活动（用户没有主动参与该活动），-1主动不参与活动" )
	private String discountId = "0";

	// "分摊的优惠金额" )
	private BigDecimal shareReduce;

	// "参与满减活动列表" )
	private List<DiscountVo> discounts = new ArrayList<>();

	
	public String getProdName() {
		return prodName;
	}

	public void setProdName(String prodName) {
		this.prodName = prodName;
	}

	public Integer getProdCount() {
		return prodCount;
	}

	public void setProdCount(Integer prodCount) {
		this.prodCount = prodCount;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getProductTotalAmount() {
		return productTotalAmount;
	}

	public void setProductTotalAmount(BigDecimal productTotalAmount) {
		this.productTotalAmount = productTotalAmount;
	}

	public String getProdId() {
		return prodId;
	}

	public void setProdId(String prodId) {
		this.prodId = prodId;
	}

	public String getSkuId() {
		return skuId;
	}

	public void setSkuId(String skuId) {
		this.skuId = skuId;
	}

	public String getSkuName() {
		return skuName;
	}

	public void setSkuName(String skuName) {
		this.skuName = skuName;
	}

	public String getBasketId() {
		return basketId;
	}

	public void setBasketId(String basketId) {
		this.basketId = basketId;
	}

	public BigDecimal getActualTotal() {
		return actualTotal;
	}

	public void setActualTotal(BigDecimal actualTotal) {
		this.actualTotal = actualTotal;
	}

	public String getDiscountId() {
		return discountId;
	}

	public void setDiscountId(String discountId) {
		this.discountId = discountId;
	}

	public BigDecimal getShareReduce() {
		return shareReduce;
	}

	public void setShareReduce(BigDecimal shareReduce) {
		this.shareReduce = shareReduce;
	}

	public List<DiscountVo> getDiscounts() {
		return discounts;
	}

	public void setDiscounts(List<DiscountVo> discounts) {
		this.discounts = discounts;
	}
}
